package com.southwind.repository;

import com.southwind.entity.User;

import java.util.List;

public interface UserRepository {
    List<User> findAll(Integer index,Integer limit);
    User findById(Integer id);
    int count();
    void save(User user);
    void update(User user);
    void deleteById(Integer id);
}
